<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<html>
<body>

<h2>修改学生</h2>

<form action="studentlistbtn.jsp?type=up" method="post">
    <%
        // 获取表单提交的数据
        String studentno = request.getParameter("studentno");
        String studentname = request.getParameter("studentname");
        String pwd = request.getParameter("pwd");
    %>
    <label for="studentno">学号:</label>
    <input type="text" id="studentno" readonly="readonly" name="studentno" value="<%= studentno %>"><br><br>
    <label for="studentname">姓名:</label>
    <input type="text" id="studentname" name="studentname" value="<%= studentname %>"><br><br>
    <label for="pwd">密码:</label>
    <input type="password" id="pwd" name="pwd" value="<%= pwd %>" ><br><br>
    <input type="submit" value="修改">
</form>

</body>
</html>